package so.wy.servicecenter.businessbed.dao.rdb.hospital.hospital_building;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;
/**
* @author wdl
* @date 2020-04-08
*/
@Data
@NoArgsConstructor
@Accessors(chain = true)
@TableName(value = "t_hospital_building")
public class HospitalBuildingDO{

    /** 主键ID */
    @TableId(type = IdType.AUTO)
    private Long id;
    /** 医院ID */
    private Long hospitalId;
    /** 父ID */
    private Long parentId;
    /** 是否父节点 */
    private Integer isNode;
    /** 当前level */
    private Integer level;
    /** 名称 */
    private String name;
    /** 楼栋ID */
    private Long buildingId;
    /** 楼栋名称 */
    private String buildingName;
    /** 楼层ID */
    private Long floorId;
    /** 楼层名称 */
    private String floorName;
    /** 排序 */
    private Integer sortNum;
    /** 数据状态 */
    private Integer dataStatus;
    /** 更新时间 */
    private Date updateTime;
    /** 创建时间 */
    private Date createTime;

}
